﻿namespace Testudo.WebApp.Events;

public class NotifyFieldUpdated : NotifyEvent
{
    private NotifyFieldUpdated()
    {
        Type = NotifyType.FieldUpdated;
    }

    public NotifyFieldUpdated(Guid targetId, Dictionary<string, object> values) : this()
    {
        TargetId = targetId;
        Values = values;
    }

    public Guid TargetId { get; }
    public Dictionary<string, object> Values { get; }
}